Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: fix git version detection in docker_package_c.sh #3658

Merged
merged 2 commits into from
Apr 9, 2024

Conversation

njzjz
Copy link
Member

@njzjz njzjz commented Apr 8, 2024

Fix the following error in docker_package_c.sh

-- Found Git: /usr/bin/git (found version "2.25.1")
fatal: detected dubious ownership in repository at '/root/deepmd-kit'
To add an exception for this directory, call:

	git config --global --add safe.directory /root/deepmd-kit

In addition, fetching git tags in actions/checkout.

Fix the following error in docker_package_c.sh

```
-- Found Git: /usr/bin/git (found version "2.25.1")
fatal: detected dubious ownership in repository at '/root/deepmd-kit'
To add an exception for this directory, call:

	git config --global --add safe.directory /root/deepmd-kit
```

Signed-off-by: Jinzhe Zeng <[email protected]>
@njzjz njzjz added this to the v2.2.11 milestone Apr 8, 2024
@njzjz njzjz changed the title fix: fix git fault in docker_package_c.sh fix: fix git version detection in docker_package_c.sh Apr 8, 2024
Copy link

codecov bot commented Apr 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 79.25%. Comparing base (2a5bbce) to head (2213ab3).

Additional details and impacted files
@@            Coverage Diff             @@
##            devel    #3658      +/-   ##
==========================================
- Coverage   81.82%   79.25%   -2.58%     
==========================================
  Files         503      503              
  Lines       46427    46396      -31     
  Branches     2952     2952              
==========================================
- Hits        37988    36770    -1218     
- Misses       7546     8872    +1326     
+ Partials      893      754     -139     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Signed-off-by: Jinzhe Zeng <[email protected]>
@wanghan-iapcm wanghan-iapcm added this pull request to the merge queue Apr 9, 2024
Merged via the queue into deepmodeling:devel with commit 6eadc29 Apr 9, 2024
48 checks passed
njzjz added a commit to njzjz/deepmd-kit that referenced this pull request Jul 2, 2024
)

Fix the following error in docker_package_c.sh

```
-- Found Git: /usr/bin/git (found version "2.25.1")
fatal: detected dubious ownership in repository at '/root/deepmd-kit'
To add an exception for this directory, call:

	git config --global --add safe.directory /root/deepmd-kit
```

In addition, fetching git tags in actions/checkout.

---------

Signed-off-by: Jinzhe Zeng <[email protected]>
(cherry picked from commit 6eadc29)
@njzjz njzjz mentioned this pull request Jul 2, 2024
njzjz added a commit that referenced this pull request Jul 3, 2024
Fix the following error in docker_package_c.sh

```
-- Found Git: /usr/bin/git (found version "2.25.1")
fatal: detected dubious ownership in repository at '/root/deepmd-kit'
To add an exception for this directory, call:

	git config --global --add safe.directory /root/deepmd-kit
```

In addition, fetching git tags in actions/checkout.

---------

Signed-off-by: Jinzhe Zeng <[email protected]>
(cherry picked from commit 6eadc29)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants